'''
Created on 08.04.2014

@author: Jan-Patrick
'''

import pygame


def __init__(self):
    self.mainClock = pygame.time.Clock()


def clock(ctick):
    import controller, screen
    
    done = False
    tick = 0
    while not done:
        mainClock = pygame.time.Clock()
        mainClock.tick(ctick)
        controller.checkEvents(0)
        screen.Screen.refreshScreen(0)        
        tick += 1
        print "Clocktick: " + str(tick)

clock(100)